#!/bin/sh

REGDOMAIN=
REGDOMAIN_CONF="/storage/.cache/regdomain.conf"
[ -r "$REGDOMAIN_CONF" ] && . "$REGDOMAIN_CONF"
[ -z "$REGDOMAIN" ] && exit 0

exec /usr/sbin/iw reg set "$REGDOMAIN"
